package uk.org.wookey.jpet.model;

import javax.swing.table.DefaultTableModel;

import uk.org.wookey.jpet.MySqlDb;

public class CoreDBModel extends DefaultTableModel {
	private static final long serialVersionUID = 1L;
	protected MySqlDb db;
	
	public CoreDBModel() {
		super();
		
		db = new MySqlDb("localhost/pet", "root", "storemand");
		
		addColumn("First Name");
		addColumn("Surname");
	}
	
	public void addTable(String tableName) {
		// Add a tables columns to this model
	}
	
	public void addJoin() {
		
	}
}
